package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_seacraft_pirate_riot_energy", desc = "海盗之乱体力恢复日志", autoSave = true, uploadCk = true)
public class LogSeacraftPirateRiotEnergy extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "玩家ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "是否获得：1获得，0失去")
    private int isGet;
    @FieldTypeAnnotation(desc = "数量")
    private int changeCount;
    @FieldTypeAnnotation(desc = "当前体力数")
    private int nowCount;
    @FieldTypeAnnotation(desc = "类型：1开启新关卡，2扫荡，3恢复道具，4自然恢复")
    private int type;
    @FieldTypeAnnotation(desc = "操作关卡ID")
    private int chapterId;
    @FieldTypeAnnotation(desc = "次数")
    private int times;

    public LogSeacraftPirateRiotEnergy(long userId, int activityId, int isGet, int changeCount, int nowCount, int type, int chapterId, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.isGet = isGet;
        this.changeCount = changeCount;
        this.nowCount = nowCount;
        this.type = type;
        this.chapterId = chapterId;
        this.times = times;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getChangeCount() {
        return changeCount;
    }

    public void setChangeCount(int changeCount) {
        this.changeCount = changeCount;
    }

    public int getNowCount() {
        return nowCount;
    }

    public void setNowCount(int nowCount) {
        this.nowCount = nowCount;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getChapterId() {
        return chapterId;
    }

    public void setChapterId(int chapterId) {
        this.chapterId = chapterId;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public int getIsGet() {
        return isGet;
    }

    public void setIsGet(int isGet) {
        this.isGet = isGet;
    }
}
